package com.yipinhouse.employee.infra.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 看房记录表
 * </p>
 *
 * @author WangCong
 * @since 2022-11-30
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("watch_record")
public class WatchRecord implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 房源id
     */
    private Integer buildingId;

    /**
     * 经纪人id
     */
    private Integer brokerId;

    /**
     * 用户id
     */
    private Integer userId;

    /**
     * 看房时间
     */
    private Date time;

    /**
     * 用户意见
     */
    private String opinion;

    /**
     * 用户意向度
     */
    private String intention;

    /**
     * 房源类型
     */
    private String houseType;


}
